/*
 * @Descripttion:
 * @version: 1.0.0
 * @Author: lai_hq@qq.com
 * @Date: 2022-08-05 10:01:08
 * @LastEditors: lai_hq@qq.com
 * @LastEditTime: 2022-08-05 15:30:24
 */
import qs from 'qs'
import axios from '@/utils/axios'

export function login(data: any) {
    return axios({
        url: '/auth/oauth/token',
        method: 'post',
        data: qs.stringify(data)
    })
}

export function getUserInfo(data: any) {
    return axios({
        url: '',
        method: 'post',
        params: data
    })
}
